Synthesizing views based on image domain warping

ABSTRACT

Techniques are disclosed for generating autostereoscopic video content. A multiscopic video frame is received that includes a first image and a second image. The first and second images are analyzed to determine a set of image characteristics. A mapping function is determined based on the set of image characteristics. At least a third image is generated based on the mapping function and added to the multiscopic video frame.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation-in-part of co-pending U.S. patent application Ser. No. 12/766,734, filed Apr. 23, 2010, which claims benefit of U.S. provisional patent application Ser. No. 61/296,425, filed on Jan. 19, 2010, and U.S. provisional patent application Ser. No. 61/260,274, filed on Nov. 11, 2009. Each of the aforementioned patent applications is herein incorporated by reference in its entirety.

BACKGROUND

Human beings typically see using stereoscopic vision. The left and right eyes of an observer each perceives slightly different views of a scene, and the brain of the observer fuses the slightly different views into a single image that provides depth information. The depth information allows the observer to perceive the relative distance to various objects in the scene. Movies filmed with a single camera may not provide such depth information to the viewer and thus tend to look flat.

Early efforts in 3-D movie technology used anaglyphs, in which two images of the same scene, with a relative offset between them, are superimposed on a single piece of movie film, with the images being subject to complimentary color filters (e.g., red and green). Viewers donned special glasses so that one image would be seen only by the left eye while the other would be seen only by the right eye. When the brains of the viewers fused the two images, the result was the illusion of depth. In the 1950s, “dual-strip” projection techniques were widely used to show 3-D movies. Using dual-strip projection techniques, two films were projected side-by-side in synchronism, with the light from each projector being oppositely polarized. Viewers wore polarizing glasses, and each eye would see only one of the two images. More recently, active polarization has been used to distinguish left-eye and right-eye images. Left-eye and right-eye images are projected sequentially using an active direction-flipping circular polarizer that applies opposite circular polarization to the left-eye and right-eye frames. The viewer dons glasses with opposite fixed circular polarizers for each eye, so that each eye sees only the intended frames. Various other systems for projecting 3-D movies have also been used over the years.

The trend towards 3-D movies in theatres and in home entertainment systems has been growing. The 3-D movies may be produced using stereoscopic techniques. Stereoscopic techniques create an illusion of depth from a pair of 2-D images, each of which is presented to a separate eye of a viewer. The pair of 2-D images may represent two slightly different perspectives of a scene. The slightly different perspectives may resemble the natural, binocular vision of the eyes of the viewer. By presenting 2-D images of slightly different perspectives to the right eye and to the left eye of the viewer, respectively, the viewer may perceive a three dimensional composite of the 2-D images, in which certain objects of the scene appear nearer to the viewer than other objects of the scene. That is, the brain of the viewer may merge or fuse the left and right eye images to create a perception of depth.

The degree of offset of objects in the image pair determines the depth at which the objects are perceived by the viewer. An object may appear to protrude toward the viewer and away from the neutral plane or screen when the position or coordinates of the left eye image are crossed with the position or coordinates of the right eye image (e.g., negative parallax). In contrast, an object may appear to recede or be behind the screen when the position or coordinates of the left eye image and of the right image are not crossed (e.g., positive parallax).

It is increasingly common for movies to be filmed (in the case of live action movies) or imaged (in the case of rendered animations) in stereo for 3-D viewing. Image frames used to produce stereoscopic video (or stereo video) may be referred to as stereoscopic images. An image frame (or simply, frame) refers to an image at a specific point in time. An illusion of motion may be achieved by presenting multiple frames per second (fps) to the viewer, such as twenty-four to thirty fps. A frame may include content from a live action movie filmed with two or more cameras. A frame may also include content from a rendered animation that is imaged using two camera locations. In stereo video, stereoscopic perception results from the presenting a left eye image stream and a right eye image stream to the viewer.

SUMMARY

Embodiments presented in this disclosure provide a computer-implemented method, computer-readable storage medium, and system to perform an operation that includes receiving a multiscopic video frame including at least a first image and a second image. The operation also includes analyzing the first image and the second image of the multiscopic video frame to determine a set of image characteristics. The operation also includes determining a mapping function based on the set of image characteristics. The operation also includes generating at least a third image based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame, where the multiscopic video frame is augmented to include the generated third image.

BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.

So that the manner in which the above recited features presented in this disclosure can be understood in detail, a more particular description of the features, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments presented in this disclosure and are therefore not to be considered limiting of its scope, for aspects presented in this disclosure may admit to other equally effective embodiments.

FIG. 1A is a block diagram illustrating a system for stereoscopically modifying a sequence of image pairs, according to one embodiment presented in this disclosure.

FIG. 1B illustrates a stereoscopic comfort zone of a viewer, according to one embodiment disclosed herein.

FIG. 1C illustrates components of a saliency map generated for a scene, according to one embodiment disclosed herein.

FIG. 2 illustrates a non-linear warp function being applied to a first image, according to one embodiment disclosed herein.

FIG. 3 illustrates the non-linear warp function being applied to a second image, according to one embodiment disclosed herein.

FIG. 4 depicts an image illustrating disparities determined by an application for stereoscopically modifying a sequence of image pairs, according to one embodiment disclosed herein.

FIG. 5 illustrates salient portions of an image as determined by the application, according to one embodiment disclosed herein.

FIG. 6 illustrates a graph representing a disparity storyboard of a stereo movie trailer, according to one embodiment disclosed herein.

FIG. 7 illustrates an image that has a new viewpoint and that is generated by the application, according to one embodiment disclosed herein.

FIG. 8 illustrates anaglyph images representing stereo image pairs before and after stereoscopic editing using the application, according to one embodiment disclosed herein.

FIG. 9 is a flowchart depicting a method for stereoscopically editing the stereo video, according to one embodiment disclosed herein.

FIG. 10 is a flowchart depicting a method for computing the non-linear warp function for each frame of the stereo video, according to one embodiment disclosed herein.

FIG. 11 is a flowchart depicting a method for stereoscopically editing a non-stereo video, according to one embodiment disclosed herein.

FIG. 12 is a depiction of generating a multiview autostereoscopic video sequence based on a source sequence containing three images per frame, according to one embodiment disclosed herein.

FIG. 13 is a depiction of generating a multiview autostereoscopic video sequence based on a source sequence containing two images per frame, according to one embodiment disclosed herein.

FIG. 14 is a data flow diagram depicting view synthesis based on image domain warping, according to one embodiment disclosed herein.

FIG. 15 depicts a set of disparities determined by the application, according to one embodiment disclosed herein.

FIG. 16 depicts salient regions and vertical edges determined by the application, according to one embodiment disclosed herein.

FIG. 17 depicts disparity constraints in generated images, according to one embodiment disclosed herein.

FIG. 18 illustrates example images generated with and without using conformal constraints, respectively, according to one embodiment disclosed herein.

FIG. 19 depicts generating an interpolated image based on two source images according to one embodiment disclosed herein.

FIG. 20 depicts blending of warped views to form a composite image, according to one embodiment disclosed herein.

FIG. 21 depicts a multiview autostereoscopic video frame generated based on three source images, according to one embodiment disclosed herein.

FIG. 22 depicts a multiview autostereoscopic video frame generated based on two source images, according to one embodiment disclosed herein.

FIG. 23 is a flowchart depicting a method to generate multiview autostereoscopic video content, according to one embodiment disclosed herein.

FIG. 24 depicts components of a view synthesizer configured to generate multiview autostereoscopic video content, according to one embodiment disclosed herein.

FIG. 25 depicts components of a data extractor configured to extract information for use in generating mapping functions, according to one embodiment disclosed herein.

DETAILED DESCRIPTION

Embodiments presented in this disclosure provide techniques for stereoscopic editing for video production and post-production (e.g., stereoscopic baseline adaptation and operators for disparity mapping). One embodiment provides an application for stereoscopically modifying a sequence of image pairs. Specifically, the application may modify a stereoscopic property of each image pair. The application may alter at least one image of each image pair using mapping functions (e.g., non-linear warp functions). The application may compute the mapping functions based on a saliency of the respective image pair and/or based on a sparse set of disparities between the images of the respective image pair. The mapping function may be linear, non-linear, or discontinuous functions in the form of warps or other mapping types (e.g., seam carving). The mapping functions may also be computed based on user input. The resulting image pair may have a modified stereoscopic property. For example, the resulting image pair may have a modified interocular distance and/or a modified local depth composition of depicted objects. Advantageously, a content producer may more conveniently and efficiently modify stereoscopic properties of a video. For example, stereoscopic properties of a stereo video may be modified in a post-production environment, thereby avoiding having to re-film or re-render the video using new camera configurations. A costly manual editing of video frames may also be avoided. Further, the content producer may modify stereoscopic properties of the video without requiring perfect depth information, without introducing hole-filling artifacts, and without introducing parallax errors. As used herein, parallax refers to an apparent displacement or difference of orientation of an object viewed along two different lines of sight.

In one embodiment, a video may be stereoscopically modified to correct displacements of objects between the left and right eye. For instance, large displacements of objects and/or dominant depth cues in a scene may be uncomfortable for the viewer and may even induce sickness. Accordingly, a content producer may desire to limit parallax of a video to acceptable ranges to improve viewing comfort of the viewer. Parallax refers to an apparent displacement or difference of orientation of an object viewed along two different lines of sight.

Further, a stereo movie produced for a particular medium, such as cinema, often cannot be played back on a different medium such as a TV or mobile device, because the parallax of the stereo video is inappropriate for the different medium. In one embodiment, the application may modify a scene depth and/or parallax of the stereo video such that the stereo video becomes suited for the different medium (such as the TV or the mobile device). For example, artistic intention and viewing comfort may be preserved. Advantageously, the content producer may create a stereo video for one particular platform and correct the stereo video to other desired platforms in a post-production environment. Consequently, the content producer avoids having to re-film or re-render the video using new camera configurations specific to each other desired platform.

Once stereo footage is recorded, it may no longer be possible to alter certain parameters such as stereoscopic baseline or disparity range. While image-based view interpolation may be employed, image-based view interpolation may require either a very large number of densely sampled input images or additional accurate depth maps to achieve results of acceptable quality. Further, image-based view interpolation typically involves under-constrained and computationally complex operations such as accurate depth, camera calibration, and inpainting of occluded scene content. Alternatively, manual editing may also be employed. However, manual editing of disparities—e.g., by compositing content from multiple stereo videos of varying baseline—may be labor intensive and extremely costly. Further, manual editing may not be feasible for live broadcast environments (e.g., where the disparity range is modified in real-time).

In one embodiment, the application may stereoscopically edit a stereo video based on predefined aspects of disparity. The application may implement disparity mapping operators based on the predefined aspects of disparity and using non-linear functions (e.g., stereoscopic image warping). Advantageously, the application may stereoscopically edit the stereo video using sparse set of stereo correspondences. The application may also be compatible with manual disparity authoring. Thus, the application may be integrated into existing production workflows that entail manual disparity authoring. Consequently, a user (such as a content producer) may stereoscopically edit the stereo video without requiring camera recalibration, accurate dense stereo reconstruction, or inpainting.

As used herein, the term “movie” refers to any sequence of images that, when viewed in succession, produce the effect of viewing a moving image. The images may be live-action, computer-generated, or a mix of live-action and computer-generated elements. The sequence may have any length desired (e.g., two minutes to two or more hours). The images may be captured and/or displayed using analog or digital media or a combination thereof (for example, a computer-generated image printed onto movie film). A “shot” refers to a subset of a movie during which camera parameters are either held constant or smoothly varied. A movie may include any number of shots. A “scene” refers to a subset of a movie that relates a continuous (e.g., in time and place) sequence of events. A scene may be composed of multiple shots.

In one embodiment, the application modifies a video to change perceived depth within a scene depicted in the video. The application may use a saliency map to limit distortions of important areas or objects in the scene. The application may also apply a content-preserving image warp to selectively warp certain pixels of the video frames. The application may use sparse disparity information (which may be computed from the video) instead of requiring a depth map. For example, the user may provide a sparse set of depth cues to the application via interactive scribbling and/or sketching. Advantageously, a content producer can simplify the process of generate 3D video from 2D video. For example, a 3D cartoon may be generated from a 2D cartoon (that lacks 3D geometry from which depth information may be obtained) by defining a disparity field and using the application to generate a stereo image pair from a single image. For instance, the application may make a copy of the single image and then modify a stereoscopic property of the single image and/or of the copy, to form a stereo image pair from the single image.

As described above, in one embodiment, the application may modify an interocular distance of an image pair and/or a local depth composition of objects depicted in the image pair. In one embodiment, the application may be used during stereo video production. For example, the application may be integrated into a stereo camera system to correct mistakes in captured footage, such as a live sports broadcast. The application may also be used in stereo video postproduction to correct mistakes and to modify depth as desired (e.g., to achieve desired visual effects). For example, content creators may use the application to create artistic depth in stereo videos, such as stereo live action movies. Further, the application may also be used in a home entertainment system to dynamically alter a stereo video to suit viewing characteristics specific to the home entertainment system (e.g., display size, resolution, viewing distance, etc.). Advantageously, artistic intention and viewing comfort may be preserved regardless of the viewing characteristics of a particular home entertainment system.

In one embodiment, the application warps a pair of stereo images to alter the perceived depth and parallax of the pair of the stereo images. The application may detect corresponding feature points and compute the stereo disparity between the stereo images. As used herein, stereo disparity refers to the displacement between corresponding features of a stereo image pair. A disparity field over a pair of stereo images specifies such feature correspondences between the stereo images. The disparity field may also include disparity constraints. The disparity constraints may be specific to a feature, object, character, scene, etc. The disparity constraints may be specified from a user or determined by the application. For example, the disparity constraints may specify a maximum disparity for a specific object in a scene depicted in the image pair. The disparity constraints may also specify a linear scaling of the complete range of disparities.

In one embodiment, the application warps one or both of the stereo images to correspond to the disparity field. In one embodiment, the warp is locally adaptive. That is, the warp may preserve an exact shape of salient regions of an image while hiding deformations in less salient regions of the image. The resulting image pair generated by the application includes the same image content as the original image pair, but at a differently perceived scene depth.

In one embodiment, a content producer using the application may apply an arbitrary mapping function (e.g., disparity operators, which are further described below) to the range of disparities (i.e., depth values) of a video. Applying the arbitrary mapping function to the range of disparities may also be referred to herein as a “warp” of the disparity range (to transform depth)—not to be confused with a warp of a stereo image pair (to deform one or more images of the stereo image pair). However, applying the arbitrary mapping function to the range of disparities of an image sequence may be implemented by warping the images. That is, the images may be deformed in order to realize/implement the mapping function (e.g., disparity operators) applied to the disparity range. “Warping” the disparity range (as opposed to deforming the actual images) may be illustrated by the following examples. A vast-scene depth of landscapes can be combined with normal scene depth for characters to achieve artistic effects. In real-time stereo sports broadcasting such as football, it may be distracting to a viewer if nearby audience and distant players on the field are shown in close proximity to one another in a scene. The content producer may use the application to adjust the disparity of the nearby audience to achieve a more comfortable viewing experience.

In the following, reference is made to embodiments presented in this disclosure. However, it should be understood that the disclosure is not limited to specific described embodiments. Instead, any combination of the following features and elements, whether related to different embodiments or not, is contemplated to implement and practice aspects in this disclosure. Furthermore, although embodiments may achieve advantages over other possible solutions and/or over the prior art, whether or not a particular advantage is achieved by a given embodiment is not limiting of the disclosure. Thus, the following aspects, features, embodiments and advantages are merely illustrative and are not considered elements or limitations of the appended claims except where explicitly recited in a claim(s). Likewise, reference to “the invention” shall not be construed as a generalization of any inventive subject matter disclosed herein and shall not be considered to be an element or limitation of the appended claims except where explicitly recited in a claim(s).

One embodiment presented in this disclosure is implemented as a program product for use with a computer system. The program(s) of the program product defines functions of the embodiments (including the methods described herein) and can be contained on a variety of computer-readable storage media. Illustrative computer-readable storage media include, but are not limited to: (i) non-writable storage media (e.g., read-only memory devices within a computer such as CD-ROM disks readable by a CD-ROM drive) on which information is permanently stored; (ii) writable storage media (e.g., floppy disks within a diskette drive or hard-disk drive) on which alterable information is stored. Such computer-readable storage media, when carrying computer-readable instructions that direct the functions presented in this disclosure, are embodiments in this disclosure. Other media include communications media through which information is conveyed to a computer, such as through a computer or telephone network, including wireless communications networks. The latter embodiment specifically includes transmitting information to/from the Internet and other networks. Such communications media, when carrying computer-readable instructions that direct the functions presented in this disclosure, are embodiments in this disclosure. Broadly, computer-readable storage media and communications media may be referred to herein as computer-readable media.

In general, the routines executed to implement the embodiments disclosed herein, may be part of an operating system or a specific application, component, program, module, object, or sequence of instructions. The computer program in this disclosure typically is comprised of a multitude of instructions that will be translated by the native computer into a machine-readable format and hence executable instructions. Also, programs are comprised of variables and data structures that either reside locally to the program or are found in memory or on storage devices. In addition, various programs described hereinafter may be identified based upon the application for which they are implemented in a specific embodiment presented herein. However, it should be appreciated that any particular program nomenclature that follows is used merely for convenience, and thus the disclosure should not be limited to use solely in any specific application identified and/or implied by such nomenclature.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments in the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

FIG. 1A is a block diagram illustrating a system 100 for stereoscopically modifying a sequence of image pairs, according to one embodiment presented in this disclosure. The networked system 100 includes a computer 102. The computer 102 may be connected to other computers via a network 130. In general, the network 130 may be a telecommunications network and/or a wide area network (WAN). In a particular embodiment, the network 130 is the Internet.

The computer 102 generally includes a processor 104 connected via a bus 112 to a memory 106, a network interface device 110, a video card 115, a storage 108, an input device 114, and a display device 116. The computer 102 is generally under the control of an operating system. Examples of operating systems include UNIX, versions of the Microsoft Windows® operating system, and distributions of the Linux® operating system. More generally, any operating system supporting the functions disclosed herein may be used. The processor 104 is included to be representative of a single CPU, multiple CPUs, a single CPU having multiple processing cores, and the like. Similarly, the memory 106 may be a random access memory. While the memory 106 is shown as a single entity, it should be understood that the memory 106 may comprise a plurality of modules, and that the memory 106 may exist at multiple levels, from high speed registers and caches to lower speed but larger DRAM chips. The network interface device 110 may be any type of network communications device allowing the computer 102 to communicate with other computers via the network 130.

The storage 108 may be a hard disk drive storage device. Although the storage 108 is shown as a single unit, the storage 108 may be a combination of fixed and/or removable storage devices, such as fixed disc drives, floppy disc drives, tape drives, removable memory cards, or optical storage. The memory 106 and the storage 108 may be part of one virtual address space spanning multiple primary and secondary storage devices.

The input device 114 may be any device for providing input to the computer 102. For example, a keyboard, keypad, light pen, touch-screen, track-ball, or speech recognition unit, audio/video player, and the like may be used. The display device 116 may operate in conjunction with the video card 115 to provide output to a user of the computer 102. Although shown separately from the input device 114, the display device 116 and input device 114 may be combined. For example, a display screen with an integrated touch-screen or a display with an integrated keyboard may be used.

In one embodiment, the video card 115 incorporates circuitry that is optimized for graphics and video processing and that constitutes a graphics processing unit (GPU). In another embodiment, the video card 115 incorporates circuitry optimized for general purpose processing. In yet another embodiment, the video card 115 may be integrated with one or more other system elements, such as the processor 104, to form a system on chip (SoC). In still further embodiments, the video card 115 is omitted and software executed by processor 104 performs the functions of the video card 115.

Pixel data can be provided to video card 115 directly from processor 104. In some embodiments disclosed herein, instructions and/or data representing a scene are provided to a render farm or a set of server computers, each similar to the system 100, via the network interface device 110 or the storage 108. The render farm generates one or more rendered images of the scene using the provided instructions and/or data. These rendered images may be stored on computer-readable media in a digital format and optionally returned to the system 100 for display. Similarly, images processed by video card 115 may be output to other systems for display, stored in the storage 108, or stored on computer-readable media in a digital format.

Alternatively, the processor 104 provides the video card 115 with data and/or instructions defining the desired output images, from which the video card 115 generates the pixel data of one or more output images. The data and/or instructions defining the desired output images can be stored in the memory 106 or graphics memory within the video card 115. In an embodiment, the video card 115 includes 3D rendering capabilities for generating pixel data for output images from instructions and data defining the geometry, lighting shading, texturing, motion, and/or camera parameters for a scene. The video card 115 can further include one or more programmable execution units capable of executing shader programs, tone mapping programs, and the like.

Communication paths interconnecting the various components in FIG. 1A may be implemented using any suitable protocols, such as PCI (Peripheral Component Interconnect), PCI Express (PCI-E), AGP (Accelerated Graphics Port), HyperTransport, or any other bus or point-to-point communication protocol(s), and connections between different devices may use different protocols, as is known in the art.

Embodiments disclosed herein may be provided to end users through a cloud computing infrastructure. Cloud computing generally refers to the provision of scalable computing resources as a service over a network. More formally, cloud computing may be defined as a computing capability that provides an abstraction between the computing resource and its underlying technical architecture (e.g., servers, storage, networks), enabling convenient, on-demand network access to a shared pool of configurable computing resources that can be rapidly provisioned and released with minimal management effort or service provider interaction. Thus, cloud computing allows a user to access virtual computing resources (e.g., storage, data, applications, and even complete virtualized computing systems) in “the cloud,” without regard for the underlying physical systems (or locations of those systems) used to provide the computing resources.

Cloud computing resources may be provided to a user on a pay-per-use basis, where users are charged only for the computing resources actually used (e.g. an amount of storage space consumed by a user or a number of virtualized systems instantiated by the user). A user can access any of the resources that reside in the cloud at any time, and from anywhere across the Internet. In context of the present disclosure, a user may access an application configured to stereoscopically modify images and synthesize views. In particular, the application described herein could execute on a computing system in the cloud, thereby allowing users to access the application from any computing system attached to a network connected to the cloud (e.g., the Internet). Similarly, the stereoscopically modified images and/or synthesized views described herein could be stored in the cloud for subsequent access by users and/or applications.

In one embodiment, the memory 106 of the computer 102 includes the application 150 for stereoscopically modifying a sequence of image pairs, disparities 154 between an image pair, salient portions 156 of an image pair, and warp functions 158. The storage 108 of the computer 102 includes a stereo video 152 and a stereoscopically modified stereo video 160.

In one embodiment, the application 150 receives the stereo video 152. The application may analyze the stereo video 152 to determine disparities 154 and salient portions 156. The application 150 may compute warp functions 158 for each frame of the stereo video 152 and from the disparities 154 and the salient portions 156. The application 150 may apply the warp functions 158 to each frame of the stereo video 152 to generate the stereoscopically modified stereo video 160. For example, the stereoscopically modified stereo video 160 may include a modified interocular distance and/or a modified local depth composition of a depicted scene. Advantageously, a content producer may use the application 150 to more conveniently and efficiently modify stereoscopic properties of the stereo video 152.

In one embodiment, the application 150 may stereoscopically edit the stereo video 152 based on predefined aspects of disparity. In one embodiment, the predefined aspects of disparity may include disparity range, disparity sensitivity, disparity gradient, and disparity velocity. Each of these predefined aspects is further discussed below. Of course, those skilled in the art will appreciate that these predefined aspects are not intended to be limiting of the disclosure, and other aspects of disparity are broadly contemplated. In one embodiment, the application 150 may stereoscopically edit the stereo video 152 based only on the disparity range, disparity sensitivity, disparity gradient, and disparity velocity.

In one embodiment, the disparity range specifies an area (or volume) that permits proper stereo video and depth perception. The disparity range may include panum's area, which specifies a zone surrounding a horopter where retinal images are fused into a single object. The horopter may be a curved line which represents points that are at the same distance from the observer as an object of focus. That is, the disparity range for a displayed scene may correspond to a stereoscopic comfort zone of a viewer.

FIG. 1B illustrates the stereoscopic comfort zone of the viewer, according to one embodiment disclosed herein. The disparity range for a displayed scene may depend on one or more parameters. For example, the disparity range may be a function of an interocular distance 162, the vergence 164 of the eyes 161 of the viewer, and the distance to a point of interest 166 (e.g., on a screen 170). As used herein, the vergence 164 of the eyes refers to an inward or outward turning of one or both eyes that occurs when focusing on an object. When focusing on a nearby object, the viewer may be unable to fuse images of other objects in the distant background due to excessive disparity. That is, the viewer may see double images of the other objects in the distant background.

Stereoscopic techniques often present a 3D scene as an image pair on a flat screen surface. While providing disparity, such techniques may be unable to reproduce other depth cues, such as accommodation. The lack of accommodation and the restriction of the disparity range may make it difficult for the viewer to properly view the 3D scene. For example, the viewer may perceive distortions of the 3D scene. The viewer may also experience visual fatigue. Difficulty in properly viewing the 3D scene also arises for displays of different characteristics and for people having different visual attributes. For example, approximately one-third of the population has deficiencies that reduce a size of an overall volume that may be perceived in stereo video.

In some cases, linear mapping techniques may be used to change a disparity range to a desired range. Such techniques introduce a linear distortion of the disparity space of a scene. The introduced linear distortion of the disparity space corresponds to a uniform flattening of objects in the scene. On a 30-foot cinema screen that displays a video having a width of 2048 pixels, disparity values may include +30 pixels (for objects appearing behind the screen) and −100 pixels (for objects appearing in front of the screen). A user may modify the camera baseline during filming or modify a relative positioning of the left and right views after filming to adjust the disparity offset. Objects in areas 168 of retinal rivalry—e.g., floating in front of the screen and intersecting with image borders—may cause the viewer to experience retinal rivalry.

Retinal rivalry refers to eyes of the viewer being simultaneously or successively stimulated on corresponding retinal areas by dissimilar images (e.g. a green source to one eye and a red to the other eye, or a set of vertical lines to one eye and a set of horizontal lines to the other eye), upon which the viewer experiences a phenomenon of visual perception in which perception alternates between the dissimilar images presented to each eye. In post-production, a floating window technique may be employed to adjust the recorded footage. The floating window technique performs a virtual shift of the screen plane towards the viewer. However, because the camera baseline of the recorded footage may not be easily modified, such techniques may involve manual, expensive, cumbersome per-frame editing.

In one embodiment, the disparity sensitivity—which may refer to the ability of the viewer to discriminate different depths—may decrease with increasing viewing distance. More specifically, stereoacuity may be inversely proportional to a square of the viewing distance. In other words, the depth perception of the viewer may generally be more sensitive an accurate with respect to nearby objects. For distance objects, the viewer may rely more heavily on other depth cues, such as occlusion or motion parallax.

In one embodiment, the decreased sensitivity to larger depths may be used to apply non-linear remapping. Consequently, foreground objects may be (perceived by the viewer as being) flattened to a less extent than when using linear range adaptation. Applying non-linear remapping may correspond to a compressing the depth space at larger distances. Further, composite non-linear mapping may be used, in which the disparity range of individual objects is stretched, while spaces between the objects are compressed. While such techniques may be effective in areas such as media retargeting, the techniques may be difficult to apply to stereoscopic live action footage because doing so may require adaptively modifying the camera baseline. However, multi-rigging may be used to capture a scene with camera rigs of varying baseline. Stereo footage may then be manually composed during post-production based on the captured scenes from the camera rigs of varying baseline.

In one embodiment, the visual perception of the viewer may be limited in terms of the disparity gradient. The disparity gradient may be defined as a difference in disparities (of an object/feature of a scene) divided by an angular separation (of the object/feature). The perception of different depth gradients may depend on local scene content, spatial relationships between objects, etc. As a result, the viewer may experience distorted perception of a 3D structure of the scene. Further, the viewer may be unable to properly view stereoscopic video. In one embodiment, the application 150 may stereoscopically edit the stereo video to confine displayed gradients within perceptual limits of the viewer. Further, a user (e.g., a content producer) may edit the disparity gradient of the stereo video to redesign the depth structure of a scene on a per-object basis to achieve desired artistic effects and/or objectives.

A viewer may rapidly perceive and process stereoscopic information for real world scenes that do not have conflicting stereo cues. However, when the stereoscopic information includes conflicting or ambiguous stereo cues, such as inconsistent vergence and accommodation, the time for the viewer to process the stereoscopic information may increase considerably. In one embodiment, disparity velocity refers to this temporal aspect of disparity. The viewer may be accustomed to disparities varying smoothly over time, such as in the real world. However, stereoscopic movies may include transitions and scene cuts. The transitions and scene cuts may include discontinuities in disparity that are perceptually uncomfortable for the viewer and may result in a duration in which the viewer is unable to perceive depth. The content producer may use a continuous modification and adaption of the depth range at scene cuts to provide smooth disparity velocities—i.e., so that salient scene elements are at similar depths over the transition. Further, a content producer may exploit depth discontinuities as a storytelling element and/or a visual effect (e.g., to evoke an emotional response from the viewer).

As described above, the application 150 edits the stereo video 152 stereoscopically based on aspects of disparity such as disparity range, disparity sensitivity, disparity gradient, and disparity velocity. The application 150 may perform the editing using disparity mapping operators. For a digital stereo image pair (I_(l), I_(r)) let xε

² be a pixel position in the left image I_(l). The disparity d(x)ε

may be defined as a distance (measured in pixels) to a corresponding pixel in I_(r) (and vice versa). The range of disparities between the two images is an interval Ω=[d_(min), d_(max)]∪

. The disparity mapping operators may be defined as functions φ: Ω→Ω′ that map an original range Ω to a new (target) range Ω′.

In one embodiment, the application 150 may edit a disparity range of the stereo video 152 using a disparity operator that performs a linear mapping of the global range of disparities of the stereo video. The disparity operator may be used to perform a linear mapping of the global range of disparities (e.g., for display adaptation). A globally linear adaptation of a disparity dεΩ to the target range Ω′=[d′_(min), d′_(max)] may be obtained via a mapping function:

$\begin{matrix} {{\phi_{l}(d)} = {{\frac{d_{\max}^{\prime} - d_{\min}^{\prime}}{d_{\max} - d_{\min}}\left( {d - d_{\min}} \right)} + {d_{\min}^{\prime}.}}} & \left( {{Equation}\mspace{14mu} 1} \right) \end{matrix}$ By changing the interval width of the target range Ω′, the depth range can be scaled and offset to match an overall available depth budget of the comfort zone.

In one embodiment, the application 150 may edit a disparity sensitivity of the stereo video 152 using a disparity operator that performs global nonlinear disparity compression. The disparity operator may be used to perform nonlinear mapping for globally or locally adaptive depth compression and expansion. The global nonlinear disparity compression may be achieved by any nonlinear function such as: φ_(n)(d)=log(1+sd)  (Equation 2) with a scale factor s. For more complex, locally adaptive nonlinear editing, the overall mapping function can be composed from basic operators. For example, given a set of different target ranges Ω₁, . . . , Ω_(n) and corresponding functions φ₁, . . . , φ_(n), the target operator may be:

$\begin{matrix} {{\phi(d)} = \left\{ {\begin{matrix} {{\phi_{0}(d)},} & {d \in \Omega_{0}} \\ \ldots & \ldots \\ {{\phi_{n}(d)},} & {d \in \Omega_{n}} \end{matrix}.} \right.} & \left( {{Equation}\mspace{14mu} 3} \right) \end{matrix}$ One approach to generate such complex nonlinear functions in a depth authoring system may be to use a histogram of disparity values (as shown in FIG. 6, which is further described below) for identifying dominant depth regions and/or to analyze the visual saliency of scene content in image space. Saliency maps (as shown in FIG. 5, which is further described below) S(x)ε[0,1] may be used to represent the level of visual importance of each pixel and can be generated by the application 150 or manually specified by a user. From the saliency map, the application 150 may determine which disparity ranges Ω_(i) are occupied by objects that are more important and which regions are less important. From these determined measures of importance—which correspond to the first derivative φ′_(a)—the application 150 may generate a disparity operator as the integral:

$\begin{matrix} {{\phi_{a}(d)} = {\int_{0}^{d}{{\phi_{a}^{\prime}(x)}\ {{\mathbb{d}x}.}}}} & \left( {{Equation}\mspace{14mu} 4} \right) \end{matrix}$

In one embodiment, the application 150 may edit a disparity gradient of the stereo video 152 using a gradient domain operator. The gradient domain operator may be used to perform disparity remapping by modifying disparity gradients. The gradient domain operator may be defined based on saliency maps S(x) as functions φ_(∇)(∇d(x),S(x)). For example, the gradient domain operator may perform adaptive compression using interpolation between a linear map and a nonlinear map φ_(l) and φ_(n), according to: φ_(∇)(∇d(x),S(x))=S(x)φ_(l)(∇d(x))+(1−S(x))φ_(n)(∇d(x)).  (Equation 5) The application 150 may then reconstruction a disparity mapping operator from φ_(∇) using gradient domain processing techniques.

In one embodiment, the application 150 may edit a disparity velocity of the stereo video 152 using a temporal operator. The temporal operator may be used to perform temporal interpolation or smoothing between different disparity ranges at scene transitions. The temporal operator may be defined by a weighted interpolation of two or more of the previously introduced operators (e.g., linear operator, non-linear operator, gradient domain operator), e.g.:

$\begin{matrix} {{{\phi_{t}\left( {d,t} \right)} = {\sum\limits_{i}{{w_{i}(t)}{\phi_{i\;}(d)}}}},} & \left( {{Equation}\mspace{14mu} 6} \right) \end{matrix}$ where w(t) is a weighting function. Consequently, the edited stereo video may have a smoother stereoscopic transition between scenes.

As described above, the application 150 may edit the stereo video 152 stereoscopically based on aspects of disparity and using corresponding disparity mapping operators. In one embodiment, the application 150 may implement the disparity mapping operators using non-linear functions (e.g., stereoscopic warping). For example, the application 150 may compute a set F of sparse feature correspondences (x, x′) between the left and right view of a stereo image pair (I_(l), I_(r)). The application 150 may then compute an image- and disparity-based saliency map S, which specifies the visual importance of each pixel in the spatial domain and in the depth domain. The application 150 may further compute a stereoscopic warp of the stereo image pair based on the disparity mapping operators φ, the correspondences F, and the saliency map S, such that the resulting (edited) output views fulfill desired disparity constraints defined by the disparity mapping operators φ. These operations are further discussed below in conjunction with FIG. 3.

In one embodiment, the application 150 may adjust a perceived depth of a scene depicted in the stereo video 152. The application 150 may multiply all disparities in the scene by a constant to grow or shrink the perceived depth window. As a result, the application 150 may adjust the stereoscopic baseline (and/or scene depth of individual objects) in a post-production environment. As used herein, the stereoscopic baseline refers to a line connecting two adjacent viewpoints of an observer. The line represents a displacement between the two adjacent viewpoints of the observer.

In one embodiment, an appropriate stereoscopic baseline can be dependent on the particular scene being depicted. The appropriate stereoscopic baseline can also be dependent on a target viewing environment (e.g., a viewing distance in a home entertainment system). The content producer may use the application 150 to port stereo video from one target platform (such as cinema) to a different target platform (such as the home entertainment system). Further, the content producer (such as a film director) may adjust overall disparity levels of the stereo video 152 to control a depth storyboard of the stereo video 152. Controlling the depth storyboard of the stereo video 152 allows the film director to strike a balance in conveying appropriate depth in the stereo video 152 without causing viewer fatigue.

In one embodiment, the application 150 provides the content producer with artistic control over the local depth content of scenes depicted in the stereo video 152. That is, aside from being used to correct stereographic errors in the stereo video 152, the local depth content can be used as an additional dimension of artistic expression in the stereo video 152. Further, in one embodiment, the application 150 may be integrated into a home entertainment system. For example, a viewer may use the application 150 to adjust the degree of depth perception in the stereo video 152 to a level that the viewer finds most comfortable.

In one embodiment, using the application 150, the content producer may more efficiently stereoscopically edit the stereo video 152 than using image-based view interpolation. Image-based view interpolation requires dense per-pixel depth information and calibrated cameras. Further, image-based view interpolation projects an image/depth pair into 3D world coordinates. Further still, image-based view interpolation re-projects all image pixels into a new viewpoint.

While image-based view interpolation may produce content that is physically accurate, image-based view interpolation may be impractical for large-scale stereo disparity editing. For example, image-based view interpolation requires a known per-pixel depth. Dense depth estimates may be computed using additional information such as structured light to increase the strength of correspondences. In real world setups, however, it may not always be possible to compute such dense depth estimates. For example, the content producer may lack a passive stereo technique that the content producer can rely on for accurate dense depth information. Consequently, the content producer may need to manually refine initial depth maps prior to applying image-based view interpolation techniques. However, such manual refinement requires sub-pixel accuracy. Further, in regions on pixel boundaries, even with perfect information, sub-pixel contributions of the foreground and background objects may cause artifacts around the objects after re-projection.

Further, image-based view interpolation often requires filling information that may become dis-occluded in the new viewpoint. While inpainting techniques may be used to fill the information, inpainting techniques may also rely heavily on manual artist input. Further, because of the dense nature of the projection, pixel-accurate rotoscoping may be required to select objects. Consequently, image-based view interpolation may seldom entail convenient or efficient manual editing. Further, image-based view interpolation often requires pre-calibrating cameras, which can be a costly and time-consuming process. Pre-calibrating cameras may also entail costly fixed-mount camera systems.

Other approaches may not explicitly require view interpolation. For example, some other approaches use a dense optical flow instead of per-pixel depth information. However, the dense optical flow between views corresponds to the information that is used in computing depth maps.

In one embodiment, instead of requiring per-pixel depth information or a dense optical flow, the application 150 uses sparse disparity correspondences that may be much more efficiently computed from the stereo video 152. Further, the application 150 may also avoid inpainting unknown regions and calibrating camera parameters. The application 150 may sacrifice physical accuracy in some cases. However, the application 150 may apply the warp functions 158 to hide physically incorrect distortions in less salient portions of the scene where a user is less likely to notice the physically incorrect distortions. For example, the application 150 may shift content of a scene without creating visible artifacts in the scene. For practical purposes, the application 150 may generate stereo image pairs that, to the viewer, are visually indistinguishable from stereo image pairs generated from physically-correct, depth-based manual editing.

In one embodiment, the application 150 determines sparse disparity correspondences between two images (I_(l), I_(r)) using techniques for correspondence matching. Alternatively, the application 150 may exploit downsampled dense correspondence information between I_(l) and I_(r) for large, textureless image regions that may be too ambiguous for sparse feature matching. The resulting feature set F may have an irregularly clustered distribution of correspondences. Further, some features may not temporally stable over a video sequence of a given length. Instead, the features may disappear only after a small number of frames. Because the application 150 may require only a sparse set of features, the application 150 may use a spatially anisoptropic pruning algorithm to the feature set F. The pruning algorithm may favor temporally stable correspondences and may be adaptive to depth discontinuities. The application 150 may sort correspondences first by lifetime—i.e., long-living pairs receive a higher priority while short-lived pairs receive a lower priority. The application 150 may then apply a greedy procedure to remove lower-priority correspondences around higher-priority correspondences. Let (x_(l), x_(r))εF be a high priority correspondence pair with disparity d(x_(l)). The pruning algorithm may remove all pairs (x′_(l), x′_(r))εF with an isotropic distance measure defined by:

$\begin{matrix} {{{\begin{pmatrix} x_{l} \\ {d\left( x_{l} \right)} \end{pmatrix} - \begin{pmatrix} x_{l}^{\prime} \\ {d\left( x_{l}^{\prime} \right)} \end{pmatrix}}} < {r.}} & \left( {{Equation}\mspace{14mu} 7} \right) \end{matrix}$ The isotropic distance measure in image and disparity space results in a locally adaptive anisotropic filter in image space. The radius r may depend on the image resolution and the disparity range. The value of r=10 has proven useful in some cases. The application 150 may use a warping algorithm that is insensitive to the value of r. Advantageously, the application 150 may compute a sparse but sufficiently accurate set F of correspondences between stereo image pairs.

In one embodiment, the application 150 computes a saliency map S for a stereo image pair. The application 150 may use image-based measures of saliency that capture the coarse- and fine-scale image details, such as prevalent edges or textured regions. Further, the application 150 may exploit a depth dimension (e.g., the sparse disparity information from previously computed stereo correspondences) as an additional source of information for determining saliency. The application may compute a composite saliency map as a weighted combination using a weighting value λ: S(x)=λS _(i)(x)+(1−λ)S _(d)(x),  (Equation 8) for all pixels xεI_(l), where S_(i) represents image-based saliency and where S_(d) represents disparity-based saliency. The application 150 may generate S_(i) from the local edge map for each stereo channel individually. The application 150 may also use spectral residual (SR) techniques (e.g., based on the amplitude spectrum of a Fourier transform) and/or techniques based on the phase spectrum of the Fourier transform (PFT) to generate S_(i).

In one embodiment, the application 150 computes the disparity saliency map S_(d) by any operator on the range of disparities of correspondences in F. Assume that foreground objects generally catch visual attention more than the background of a scene, which is a reasonable assumption for many application scenarios. For a correspondence set F that includes a disparity range Ω=[d_(min), d_(max)], the application 150 may assign higher saliency values to disparities close to d_(min) and lower saliency values to disparities close to d_(max). The application 150 may then interpolate saliency values over non-feature pixels in the images.

FIG. 1C illustrates components 174 of a saliency map 182 generated for a scene, according to one embodiment disclosed herein. The scene is represented by a left image 172 of a stereo image pair. The components 174 include a local edge saliency component 176, a global texture saliency component 178, and a disparity-based saliency component 180. The application may generate a combined saliency map S (i.e., saliency map 182) based on the components 174. Dark areas 184 in the saliency map 182 may correspond to parts of the scene more likely to be distorted by a warp to accommodate movement within the images. For weighting S_(i) and S_(d), a value of λ=0.5 has proven useful in some cases.

As described above, the application 150 may implement the disparity mapping operators using stereoscopic warping. That is, the application 150 may warp a stereo image pair (I_(l), I_(r)) such that the range of disparities of the stereo correspondences F is mapped to a new range defined by a disparity mapping operator φ: Ω→Ω′. To do so, the application 150 may compute a pair of warp functions (w_(l), w_(r)) that map coordinates from the stereo image pair (I_(l), I_(r)) to a pair of output images (O_(l), O_(r)) respectively. That is, O_(l)∘w_(l)=I_(l) and O_(r)∘w_(r)=I_(r), subject to d(O_(l), O_(r))=φ(d(I_(l), I_(r))). In some cases, the application 150 may warp only one image of the stereo image pair. However, distributing deformation to both images of the stereo image pair may increase flexibility in applying disparity mapping operations and decrease visual artifacts. To compute the warp functions, the application 150 may use techniques from video retargeting. For example, the application 150 may define a set of constraints on the warp functions (w_(l), w_(r)) which may then be solved as a nonlinear least-squares energy minimization problem. The set of constraints may include stereoscopic constraints, temporal constraints, and saliency constraints.

In one embodiment, the stereoscopic constraints apply the disparity mapping operator φ to the stereo correspondences (x_(l), x_(r))εF. For each correspondence pair, the application 150 may require the disparity of a warped correspondence pair (w_(l)(x_(l)), w_(r)(x_(r)) to be identical to applying the disparity mapping operator φ to the original disparity d(x_(l)). Because the above constraints only prescribe relative positions, the application 150 may also require a set of absolute position constraints that fix the global location of the warped images. The application 150 may compute these position constraints for the twenty percent temporally most stable feature correspondences—i.e., those features that have been detected throughout a sequence of frames in the video. The warped positions may be defined by average previous position and novel disparity, as follows:

$\begin{matrix} {{{w_{l}\left( x_{l} \right)} = {\frac{x_{l} + x_{r}}{2} + \frac{\phi\left( {d\left( x_{l} \right)} \right)}{2}}},{{w_{r}\left( x_{r} \right)} = {\frac{x_{l} + x_{r}}{2} + {\frac{\phi\left( {d\left( x_{r} \right)} \right)}{2}.}}}} & \left( {{Equation}\mspace{14mu} 9} \right) \end{matrix}$ That is, Equation 9 defines a stereoscopic warp constraint such that the disparities of the warped images match the target disparity range Ω′.

In one embodiment, the temporal constraints facilitate properly transferring constraints local image distortion along a local motion direction between successive video frames. The application 150 may measure the local image distortion based on derivatives of the warp. Let

$\frac{\partial w_{x}^{t}}{\partial x}$ denote the partial derivative of the x-component of the warp w^(t) at time t, and let ƒ(x_(t-1)) be the optical flow vector of a pixel x_(t-1) in I_(t-1) to the next frame I_(t). The corresponding transfer of the warp distortion may be achieved by the following constraint:

$\begin{matrix} {{\frac{\partial w_{x}^{t}}{\partial x}\left( x_{t} \right)} = {\frac{\partial w_{x}^{t - 1}}{\partial x}{\left( {x_{t - 1} + {f\left( x_{t - 1} \right)}} \right).}}} & \left( {{Equation}\mspace{14mu} 10} \right) \end{matrix}$ The above constraint may be enforced for the y-component

$\frac{\partial w_{y}^{t}}{\partial y}$ as well and performed for the left and right image warps independently.

In one embodiment, the saliency constraints reduce visual distortion in the warped images (e.g., as perceived by a viewer). The saliency constraints may enforce a specified rigidity of the warp in salient regions of the image while allowing larger image distortions in less-salient regions of the image. The constraints may include:

Distortions:

$\begin{matrix} {{\frac{\partial w_{x}}{\partial x} = {\frac{\partial w_{y}}{\partial y} = 1}},} & \left( {{Equation}\mspace{14mu} 11} \right) \end{matrix}$

Blending of Edges:

$\begin{matrix} {{\frac{\partial w_{x}}{\partial y} = {\frac{\partial w_{y}}{\partial x} = 0}},} & \left( {{Equation}\mspace{14mu} 12} \right) \end{matrix}$

Overlaps:

$\begin{matrix} {{\frac{\partial w_{x}}{\partial x}\bigwedge\frac{\partial w_{y}}{\partial y}} > 0.} & \left( {{Equation}\mspace{14mu} 13} \right) \end{matrix}$ During computation of the warp, the application may weigh these constraints by the saliency map S of Equation 8 to adapt the warp to the image content.

In one embodiment, the application 150 may implement the warping constraints (e.g., stereoscopic constraints, temporal constraints, and saliency constraints) using image-based warping techniques. For example the application 150 may convert the constraints into energy terms to solve for the warps (w_(l), w_(r)) as an iterative nonlinear least-squares problem. The application 150 may sum all energy terms and weight the saliency constraints by multiplying with the saliency map S. In other embodiments, a user may guide image warping via input provided to the application 150 (e.g., input specifying constraints regarding region positions or global lines).

In one embodiment, by using the warp functions 158 rather than other techniques such as a homography warp or linear combinations of images, the application 150 permits locally varying warping (i.e., to warp objects at different depth levels). Further, the application 150 permits applying different local warping constraints to individual objects.

In one embodiment, the warp functions 158 may be non-linear. The application 150 may apply the non-linear warp functions to a stereo image pair to generate a new virtual viewpoint. Conceptually, the application 150 places a regular grid over an image and computes new grid coordinates to minimize predefined criteria. The application 150 may warp the image to fit the new grid coordinates.

FIG. 2 illustrates the non-linear warp function 158 being applied to an image 206, according to one embodiment disclosed herein. In one embodiment, the warp function for a given image (frame) of the stereo video 152 specifies how the shape of each pixel of the image 206 is deformed. The warp function may specify a mapping between a first grid 202 of pixel positions to a second grid 204 of pixel positions. The application 150 may apply the warp function to the image 206 to generate a modified image 210. In one embodiment, the modified image 210 corresponds to a frame of the stereoscopically modified stereo video 160.

In one embodiment, rather than constraining the new grid with a new aspect ratio and/or image size, the application 150 may maintain the image size and satisfy a sparse series of constraints that enforces a specific disparity at specific pixels. These disparity constraints may be counterbalanced by a saliency property for preserving salient parts of the image. Consequently, areas of the image less noticeable to the viewer may be distorted more by the application 150. The resulting images may be physically inaccurate. However, the resulting images may look plausible (and/or more aesthetically pleasing) to the viewer. Advantageously, the application 150 may produce a dense resulting image having no holes, without requiring dense disparity information having per-pixel depth (which may often be very difficult to compute). Further, the application 150 may also determine and apply a non-linear warp function for both (i) stereoscopically warping and (ii) retargeting (i.e., to a new aspect ratio) the stereo video 152. That is, the application 150 may perform both stereoscopic warping and retargeting at the same time. For example, the application 150 may convert a cinema movie having a 2.39:1 aspect ratio into a movie suited for a widescreen display (e.g., having a 16:9 aspect ratio). That is, the converted movie not only is retargeted for the widescreen display but also includes a depth impression suited to the widescreen display.

When displaying an image on a flat surface, it may not be possible to faithfully reproduce certain depth cues, such as accommodation. Accommodation refers to a change in a focal length of a lens of an eye. Accommodation brings objects at different distances into focus. Accordingly, when displaying a close object on a distant screen, a strong negative disparity may result in an uncomfortable viewing experience and can cause temporary diplopia, the inability to fuse stereoscopic images. In one embodiment, the application 150 may stereoscopically modify the stereo video 152 to correct the strong negative disparity. Further, those of skill in the art will appreciate that the application 150 may stereoscopically modify the stereo video 152 in other environments. For example, content optimized for a standard 30-foot cinema screen may appear different on a TV screen or a handheld display. In one embodiment, the application 150 may stereoscopically modify the stereo video 152 to suit the stereo video 152 for display on the TV screen (or handheld display). Furthermore, individual viewers can have vastly different viewing preferences or even deficiencies in stereoscopic perception. In one embodiment, a viewer may use the application 150 to stereoscopically adjust the stereo video 152 to the liking of the viewer.

FIG. 3 illustrates the non-linear warp function 158 being applied to an image 302, according to one embodiment disclosed herein. The image 302 may correspond to a frame of the stereo video 152 of FIG. 1A. In one embodiment, the application 150 applies the non-linear warp function 158 to the image 302 to generate the modified image 304. The modified image 304 may correspond to a frame of the stereoscopically modified stereo video 160. Grids 306, 308 represent how scene elements are arranged in the images 302 and 304, respectively. The grid 306 for the image 302 includes a symbol 310 representing a salient portion of the image 302. The symbol is moved to a new location 312 in the grid 308 for the image 304.

In one embodiment, the application 150 operates in disparity space to obtain 3D scene information for generating the new virtual viewpoint. Consequently, the application 150 need not require camera calibrations as an input. The application 150 may rectify each stereo image pair such that all features depicted in the respective stereo image pair lie on horizontal scan-lines. Doing so removes the divergence from the stereo image pair. The application 150 may compute disparities 154 at sparse pixels in the stereo image pair. Because the application 150 only computes disparities 154 for points having strong local features, the disparities 154 at sparse pixels may be generated more efficiently than dense disparity information. In one embodiment, the application 150 may compute a sparse disparity matching between left and right cameras using a Lucas-Kanade feature matching method. FIG. 4 depicts an image 400 illustrating disparities 154 determined by the application 150, according to one embodiment disclosed herein. In one embodiment, the application 150 may determine the disparities 154 at sparse pixels of a stereo image pair for the image 400.

In one embodiment, after computing sparse disparities 154 in the stereo video, the application 150 may provide disparity constraints. The disparity constraints enforce a specific disparity at each pixel in the sparse set. For example, if the content producer desires to reduce all disparities in the image by a factor of 0.5, the application 150 may compute new pixel positions for the sparse constraints that occur halfway between the original points in the original stereo image pair. In doing so, the application 150 correctly accounts for 3D scene knowledge, because points lying closer to the camera (and that involve a larger disparity) are moved at a greater extent than points lying farther from the camera. In one embodiment, the application 150 may reduce all disparities by a constant factor based on predefined stereographic techniques. Alternatively, a content producer (such as an artist) may locally control the disparity constraints via the application 150.

In one embodiment, the resulting image produced by the application 150 may contain visible artifacts in regions that have been stretched to fit the new grid coordinates. In one embodiment, to improve visual consistency between the resulting image and the source image, the application 150 may compute a saliency map for the source image. The saliency map specifies salient portions 156 of the source image. FIG. 5 illustrates salient portions 156 of an image 500 as determined by the application 150, according to one embodiment disclosed herein. As shown, the salient portions 156 include edges in the scene. The application 150 may use the salient portions 156 to enforce smoothness in the resulting grid, weighted by the saliency of each grid quad. Consequently, the application 150 may distort regions having lower saliency to a greater extent than regions having higher saliency, based on the saliency map.

In one embodiment, after providing the disparities 154 and/or the salient portions 156, the application 150 may compute the warp functions 158 based on the disparities 154 and/or the salient portions 156. For example, the application 150 can solve for warped grid positions using a system of linear equations. In one embodiment, the warped grid positions may be solved for more efficiently on the GPU rather than on the CPU, while enforcing several nonlinear constraints. The application 150 may iteratively solve the least squares system but enforce that grid cells cannot self-intersect. Consequently, the application 150 may compute a non-linear solution for the warped grid positions.

In one embodiment, the application 150 may be applied to a variety of areas such as porting stereo video to specific platforms, correcting stereographic errors, manual depth storyboard editing, local manual disparity editing, generating stereo (3D) video from non-stereo (2D) video, adjusting stereo video for viewer comfort, and so forth.

As described above, in one embodiment, the application 150 may be applied in the area of porting stereo video to specific platforms. The perception of depth by a viewer in viewing a stereo video depends on several factors. The factors may include the size of the display screen, the viewing distance (i.e., the distance between the viewer and the display screen), and the stereoscopic baseline between the cameras used for filming (or imaging) the stereo video. Filming with stereo cameras may often entail precise tweaking of the stereoscopic baseline. The content producer (such as a director) may need to consider the intended viewing distance, the distance to subject being filmed, and the desired stereoscopic effect. To reproduce realistic depth effects, the director may use the equation: D _(screen) /B _(eyes) =D _(subject) /B _(filming)  (Equation 14) where D_(screen) is the known viewing distance, B_(eyes) is the mean human interpupillary distance (63 millimeters), D_(subject) is the distance to the subject being filmed, and B_(filming) is the stereoscopic baseline used for filming. Further, this equation may be tailored to suit the needs of a particular case (for example, where the desired baseline may be different). For instance, an exaggerated stereo effect is often desirable in landscape scenes. In such landscape scenes, the director may use a much wider baseline than would be used to achieve a realistic looking depth effect.

In one embodiment, according to Equation 14, when D_(screen) changes size, a new B_(filming) is required. When the viewer is in a cinema, the viewer remains relatively stationary and at a controlled distance of a display screen of known size. However, stereo displays are also produced nowadays for home viewing and are even being incorporated onto cell-phone devices. Although a director may select an appropriate stereoscopic baseline for each scene of a stereo video for cinema viewing, the perceived depth changes upon rescaling the video for a target platform other than cinema. In one embodiment, the director may use the application 150 to adjust the perceived depth of the stereo video so that the stereo video may be properly viewed on another target platform. The perceived depth may need to be further adjusted to maintain the perceived depth in certain environments. An example of such an environment includes head mounted displays, where depth is viewed as compressed, even when accounting for a correct viewing angle.

As described above, in one embodiment, the application 150 may be applied in the area of correcting stereographic errors. The content producer often budgets disparity in stereo videos. Too much disparity may cause viewer fatigue. Further, a disparity that varies greatly from scene to scene may make it difficult for the viewer to converge stereo image pairs. In one embodiment, the content producer may define stereography rules that limit disparity to an acceptable range. The application 150 may generate the stereoscopically modified stereo video 160 based on the stereography rules. Such stereography rules may be used in live filming environments such as sporting events, where manual intervention is often difficult and where cameramen can seldom capture stereoscopic video that meets an acceptable quality. Advantageously, stereo filming may be greatly simplified by correcting stereographic errors in post-production environments.

FIG. 6 illustrates a graph 600 representing a disparity storyboard of a stereo movie trailer, according to one embodiment disclosed herein. The graph 600 is plotted against a y-axis 602 representing disparity (in pixels) computed by the application 150 for scenes of the stereo movie trailer. The graph 600 is also plotted against an x-axis 604 representing time. The graph 600 includes shading 606 that represents the number of sparse pixels supporting the disparity. A lighter shading represents a greater number of sparse pixels supporting a given disparity.

As described above, in one embodiment, the application 150 may be applied in the area of manual depth storyboard editing. To improve the experience of viewing the stereo video, the viewer may desire to view the stereo video in a display environment that closely resembles the target platform of the stereo video. However, it may not always be practical for the viewer to view the stereo video in such a display environment. Accordingly, the content producer may use the application 150 to edit the depth storyboard of the stereo video so that the viewer may properly view the stereo video.

As described above, in one embodiment, the application 150 may be applied in the area of local manual disparity editing. Content producers (such as artists) may use the application 150 to edit disparity conveniently in stereo video. For example, the artist may select a region of sparse disparity points and drag the region to create a local warping that creates different disparities for different regions. This technique may be used for generating stereo video from non-stereo video and for controlling of object disparities to achieve desired artistic effects. Further, the artist may edit saliency information computed by the application 150 to specify that certain important features in a scene remain constant in the warped image.

FIG. 7 illustrates an image 700 that has a new viewpoint and that is generated by the application 150, according to one embodiment disclosed herein. The image 700 may correspond to a frame of the stereoscopically modified stereo video 160. The image 700 depicts a statue 702 that is moved to a greater extent than the background of the image 700. Further, the application may, at least to some degree, hide warping from the viewer in areas of the image 700 that have fewer features.

As described above, in one embodiment, the application 150 may be applied in the area of generating stereo (3D) video from non-stereo (2D) video. For example, the application 150 may be applied in animated videos. Because painted scenes in animated videos often do not correspond to a real, possible 3D configuration, applying real physical projection to the animated videos may lead to incorrect stereoscopic results. Instead, the application 150 may stereoscopically edit the animated video to introduce appropriate stereoscopic properties in the animated video.

As described above, in one embodiment, the application 150 may be applied in the area of adjusting stereo video for viewer comfort. Sometimes, the viewer may experience headaches from focusing on one plane while converging eyes on a different plane. The human interpupillary distance may vary from forty-five millimeters to eighty millimeters. Depth perception may vary more greatly between subjects being filmed than between viewing conditions. Advantageously, by using the application 150, the viewer may interactively control the stereoscopic baseline of the stereo video to suit the preferences of the viewer based on the home entertainment system configuration of the viewer.

FIG. 8 illustrates anaglyph images 801-806 representing stereo image pairs before and after stereoscopic editing using the application 150, according to one embodiment disclosed herein. The anaglyph image 801 depicts a handshaking scene prior to stereoscopic editing. The anaglyph image 802 depicts the handshaking scene subsequent to stereoscopic editing. As shown in the anaglyph image 802, the stereoscopic baseline of the handshaking scene depicted in the anaglyph image 801 has been adjusted by the application 150. Similarly, the anaglyph image 802 depicts a breakdancing scene prior to stereoscopic editing. The anaglyph image 804 depicts the breakdancing scene subsequent to stereoscopic editing. As shown in the anaglyph image 804, the stereoscopic baseline of the breakdancing scene depicted in the anaglyph image 803 has been adjusted by the application 150. Further, the anaglyph image 805 depicts a scene of a horse grazing and prior to stereoscopic editing. The anaglyph image 806 depicts the scene of the horse grazing and subsequent to stereoscopic editing. As shown in the anaglyph image 806, the stereoscopic baseline of the scene of the horse grazing depicted in the anaglyph image 805 has been adjusted by the application 150.

FIG. 9 is a flowchart depicting a method 900 for stereoscopically editing the stereo video 152 of FIG. 1A, according to one embodiment disclosed herein. As shown, the method 900 begins at step 910, where the application 150 receives the stereo video 152. At step 920, the application 150 computes a non-linear warp function for each frame of the stereo video 152. For each image pair, the application 150 may compute a non-linear warp function for each image of the respective image pair. The application 150 may then apply the non-linear warp functions to the respective image to generate a modified image pair. In an alternative embodiment, the application only modifies one of the images for some image pairs. In such cases, the modified image pair includes a modified first image and an original second image. The step 920 is further discussed below in conjunction with FIG. 10.

At step 930, the application 150 applies the non-linear warp functions to modify a stereoscopic property of the stereo video 152. For example, a stereoscopic disparity of the stereo video 152 may be modified. Further, a local depth composition of a scene element of the stereo video 152 may be modified. As a result, the application 150 generates the stereoscopically modified stereo video 160. After the step 930, the method 900 terminates.

FIG. 10 is a flowchart depicting a method 1000 for computing the non-linear warp function for each frame of the stereo video 152 of FIG. 1A, according to one embodiment disclosed herein. The method 1000 corresponds to the step 920 of FIG. 9. As shown, the method 1000 begins at step 1010, where the application 150 determines a sparse set of disparities 154 for each image pair of the stereo video 152. At step 1020, the application 150 determines salient portions 156 of each image pair of the stereo video 152. At step 1030, the application 150 solves for warped grid positions using a system of linear equations and based on the sparse set of disparities 154 and the salient portions 156. The application 150 may define the non-linear warp functions on the basis of the warped grid positions. After the step 1030, the method 1000 terminates.

FIG. 11 is a flowchart depicting a method 1100 for stereoscopically editing a non-stereo video, according to one embodiment disclosed herein. As shown, the method 1100 begins at step 1110, where the application 150 receives a non-stereo video. At step 1120, the application 150 computes a non-linear warp function for each frame of the non-stereo video. For example, the application 150 may compute the non-linear warp functions based on salient portions of the frames of the non-stereo video (e.g., as specified by user input). At step 1130, the application 150 applies the non-linear warp functions to the non-stereo video to generate a modified non-stereo video. The application 150 may combine the non-stereo video and the modified non-stereo video to form a stereo video. In an alternative embodiment, the application 150 may compute a second set of non-linear warp functions for each frame of the non-stereo video to generate a second modified non-stereo video. The application 150 may then combine the modified non-stereo video and the second modified non-stereo video to form a stereo video. After the step 1130, the method 1100 terminates.

Accordingly, embodiments disclosed herein provide techniques for stereoscopically editing video content. The content producer may use these techniques to edit stereoscopic properties of the video content more conveniently and efficiently. For example, the video content may be stereoscopically edited in a post-production environment. Consequently, the content producer may greatly reduce the costs of creating stereo videos. The content producer may also correct stereographic errors more efficiently. Further, the content producer may port stereo video content to other display devices more efficiently. The content producer may also generate stereo video from non-stereo video more efficiently. Further still, the content producer may obtain artistic control over the perceived depth composition of scenes depicted in the stereo video. The techniques disclosed herein may be readily applicable to existing video content and may greatly reduce the costs associated with both filming and editing stereo video footage.

In one embodiment, the application 150 is further configured to programmatically generate video content for multiview autostereoscopic displays having a predefined count of views for each frame of a video sequence. An autostereoscopic display is configured to present images that facilitate a perception of three-dimensional depth on the part of a viewing user, without requiring any glasses or headgear to be worn by the user. A single-view autostereoscopic display presents a single stereoscopic view of the video sequence for one or more predefined viewing positions of the user. A multiview autostereoscopic display simultaneously presents three or more images for each frame of the video sequence, where only two of the images are visible from each of a predefined set of user viewing positions. For example, assume that the multiview autostereoscopic display simultaneously presents nine different images for each frame of a video sequence. At each predefined user viewing position, only two of the nine images are visible to the user, the two images forming a stereoscopic image pair.

At least in some cases, multiview autostereoscopic displays may offer a superior viewing experience for multiple users concurrently viewing a video sequence from a broad range of viewing positions and without wearing any glasses or headgear. Further, multiview autostereoscopic displays may also facilitate a perception of left-right movement parallax on the part of a viewing user when the user changes viewing positions during playback of the video sequence. A pair of images of a video frame is stereoscopic if the pair facilitates the perception of three-dimensional depth of the video frame, where the video frame corresponds to a frame at a single point in time of the video sequence. A set of images is multiscopic if one or more predefined image pairs in the set form one or more distinct stereoscopic pairs for a single point in time of the video sequence.

Constraints such as camera placement restrictions may often make it impractical to capture the predefined count of views for each frame of the video sequence. Accordingly, in one embodiment, a smaller count of views may be captured, and the smaller count of views may be used to synthesize one or more additional views, sufficient to form the predefined count of views. Each view represents an image of a video frame, the image having multiscopic characteristics specific to a distinct user position for viewing the video frame. In some embodiments, views may also be synthesized to allow users to change stereoscopic characteristics of a stereoscopic video during playback of the stereoscopic video. For example, the stereoscopic characteristics may include depth impression. Accordingly, users may adjust the depth impression during playback, just as the users may typically adjust volume, color intensity, etc.

In one embodiment, the application 150 is configured to perform an operation to generate the video content for a multiview autostereoscopic display. The operation includes analyzing the multiscopic video frame to determine a set of image characteristics. The operation also includes generating a third image based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame. The multiscopic video frame is augmented with the third image, thereby forming the video content for the multiview autostereoscopic display.

As used herein, source stereoscopic information refers to any information used in modifying a stereoscopic property of one or more images. Examples of source stereoscopic information include disparity information and depth information. The source stereoscopic information may be provided on a per-pixel basis—i.e., each pixel is associated with a corresponding source stereoscopic value, e.g., a disparity value or a depth value. A disparity value for a given pixel of a video frame or image represents a degree of parallax motion of a scene element depicted in whole or in part by the pixel, from the perspective of a moving viewpoint. A depth value for a given pixel of a video frame or image represents a depth of a scene element depicted in whole or in part by the pixel, where the depth represents a distance between the scene element and the viewpoint. Because scene elements at a greater distance from the viewpoint are typically associated with a smaller degree of parallax motion, disparity values are inversely proportional to depth values at least in some embodiments.

In one embodiment, when provided on a per-pixel basis for all pixels in an image or video frame, the source stereoscopic information may be referred to as dense source stereoscopic information. For example, dense source stereoscopic information may be dense disparity information or dense depth information. In other words, dense source stereoscopic information includes a respective disparity value or depth value for each pixel of a video frame or image. In contrast, sparse source stereoscopic information includes a respective disparity value or depth value for a subset of pixels—i.e., less than all of the pixels—of a video frame or image. At least in some embodiments, the application 150 may determine sparse source stereoscopic information for a video frame or image, such as sparse disparity information or sparse depth information. Although embodiments are described herein with reference to the generating sparse disparity information for a video frame or image, in alternative embodiments, sparse depth information may be generated in lieu of or in addition to the sparse disparity information and used in modifying the stereoscopic property of one or more video frames or images. Using the techniques disclosed herein, the sparse source stereoscopic information may be determined accurately and/or reliably at least in some cases. Additionally or alternatively, the application 150 may also generate multiview autostereoscopic video content based on the sparse source stereoscopic information.

Accordingly, images that are stereoscopically distinct relative to one or more source images from the multiscopic video frame may be generated more efficiently at least in some cases, while preserving visually significant features in the generated images. Further, the images may be generated without using any dense source stereoscopic information pertaining to the multiscopic video frame, such as without using any depth image based rendering. Thus, the images may be generated even when the dense source stereoscopic information is unavailable and without incurring the costs and/or inaccuracies associated with generating dense source stereoscopic information. Further still, the images may be generated without using calibration information pertaining to any cameras with which the multiscopic video frame is captured. Still further, the images may be generated without requiring any user input and/or without requiring any inpainting to be performed on the generated images.

In one embodiment, the application 150 generates additional images for a multiview autostereoscopic display configured to present N images for each frame of a video sequence, where N≧3. In particular, the application 150 may generate one or more additional images for each frame of the video sequence. The one or more additional images may be generated based on M source images from the respective frame of the video sequence, where M is less than N. At least some of the additional images may be generated based on interpolation. In embodiments where stereoscopic video is used as input, i.e., M=2, the disparity range of the images in each frame may often need to be increased to create a depth impression appropriate for the multiview autostereoscopic display. At least in some embodiments, the disparity range is increased by a factor of two. To this end, the application 150 generates one or more images for each frame based on extrapolation. Using extrapolation in alternative approaches such as depth image based rendering may lead to disocclusions in the generated images, which may require inpainting to correct. In contrast, using extrapolation based on the techniques disclosed herein does not lead to disocclusions and hence does not require inpainting.

FIG. 12 is a depiction of generating a multiview autostereoscopic video sequence 1206 based on a source sequence 1202 containing three images per frame, according to one embodiment disclosed herein. Each image may also be referred to herein as a view. One or more frames in the multiview autostereoscopic video sequence 1206 may be generated based on a mapping function determined by the application 150. In this particular example, the mapping function is an image-domain warp function 1204. Further, a first pair of images from the source sequence, namely, V1 and V5, is interpolated to generate images V2, V3 and V4. A second pair of images from the source sequence, namely, V5 and V9, are interpolated to generate images V6, V7 and V8. The application 150 then augments the source sequence to include the generated images—that is, in addition to the images V1, V5, and V9 already in the source sequence—to form the multiview autostereoscopic video sequence 1206. From each of a predefined set of viewing positions 1208, an associated, predefined pair of images for each frame of the multiview autostereoscopic video sequence is visible to the user.

FIG. 13 is a depiction of generating a multiview autostereoscopic video sequence 1306 based on a source sequence 1302 containing two images per frame, according to one embodiment disclosed herein. As with the multiview autostereoscopic video sequence 1206, one or more frames in the multiview autostereoscopic video sequence 1306 may also be generated based on a mapping function determined by the application 150. The mapping function is also an image-domain warp function 1304 in this particular example. Further, a first pair of images from the source sequence, namely, V3 and V7, is interpolated to generate images V4, V5, and V6. Further still, V3 is extrapolated to generate images V1 and V2. Still further, V7 is extrapolated to generate images V8 and V9. The application 150 then augments the source sequence to include the generated images—that is, in addition to the images V3, V7 already in the source sequence—to form the multiview autostereoscopic video sequence 1306. Once again, from each of a predefined set of viewing positions 1308, an associated, predefined pair of images for each frame of the multiview autostereoscopic video sequence is visible to the user.

FIG. 14 is a data flow diagram 1400 depicting view synthesis based on image domain warping, according to one embodiment disclosed herein. In one embodiment, the application 150 performs content analysis 1404 to determine characteristics of the input views 1402. The characteristics include disparity, saliency, and/or edge information pertaining to the input views 1402. Further, no dense source stereoscopic information is determined during the content analysis 1404. The application 150 then determines a mapping function based on the determined characteristics. In this particular example, the mapping function is a non-linear warp function 1406 configured to operate in the image domain. The application 150 then performs view synthesis 1408 based on the determined warp function 1406, to generate one or more synthesized views 1410. At least some of the synthesized views 1410 may be generated based further on blending contributions from distinct source images.

FIG. 15 depicts a set of disparities determined by the application 150, according to one embodiment disclosed herein. At least in some embodiments, the set of disparities is a set of sparse disparities. In one embodiment, the application 150 determines disparities between two source images based on one or more predefined types of analysis, such as feature matching and optical flow analysis. Because determining disparities based only on feature matching may result in undesirable clustering in image regions at least in some cases, optical flow analysis may additionally be used to determine the disparities. A final set of disparities may be determined by pruning and/or combining the disparities determined from each respective type of analysis. For example, the application 150 may determine, based on feature matching, a first set of disparities as demarcated by vertical line segments in the image 1502. The application 150 may also determine, based on optical flow analysis, a second set of disparities as demarcated by vertical line segments in the image 1504. The first and second sets of disparities may be pruned and/or combined to obtain a third set of disparities as demarcated by the vertical line segments in the image 1506.

FIG. 16 depicts salient regions and vertical edges determined by the application 150, according to one embodiment disclosed herein. As described above, in one embodiment, the application 150 determines a mapping function based on the characteristics of the input views. The mapping function is configured to distort an input view to effect desired changes to disparity in one or more generated images, in a manner that preserves visually significant scene elements in the generated images. To this end, the application 150 generates a saliency map specifying salient regions of the input views, as determined by the application 150. For example, the application 150 may determine the salient regions that are demarcated as lighter regions in the image 1602. The saliency map may subsequently be used to determine the mapping function, so that the salient regions may be preserved in the generated images. In one embodiment, to generate the saliency map, the application 150 analyzes a predefined set of image attributes based on quaternion transform, such as by two-dimensional Fourier transformations. Depending on the embodiment, the predefined set of image attributes may include contrast, orientation, color, and/or intensity, etc. By determining the mapping function based on the saliency map, noticeable artifacts in the generated images may be reduced or minimized at least in some cases.

In one embodiment, because the mapping function is configured to distort the images in the horizontal direction, the generated images may include undesirable distortions of vertical edges at least in some cases. Accordingly, in one embodiment, the application 150 generates an edge map specifying vertical edges in one or more of the source images, as determined by the application 150. Like the saliency map, the edge map may subsequently be used to determine the mapping function, so that the vertical edges may be preserved in the generated images. In one embodiment, to generate the edge map, the application 150 may identify a set of edges using a predefined algorithm such as a Canny algorithm. Based on the set of the edges, the application 150 may then determine vertical lines using a predefined transform such as a Hough transform. For instance, the application 150 may determine the vertical lines demarcated in the image 1604. By determining the mapping function based on the edge map, distortions of vertical edges in the generated images may be reduced or minimized at least in some cases.

As described above, in one embodiment, the application 150 determines the mapping function based on characteristics pertaining to the input images, including the set of disparities, the saliency map, and/or the edge map. At least in some embodiments, the determination of the mapping function may be modeled as an energy minimization problem. To this end, the application 150 may optimize a predefined energy equation: E _(w)=λ_(c) E _(c)+λ_(f) E _(f)+λ_(t) E _(t)+λ_(h) E _(h).  (Equation 15) As shown, the predefined energy equation includes a combined energy term, E_(W), and four component terms, each corresponding to a distinct constraint. At least in some embodiments, one or more of the component terms may be weighted using a respective parameter λ. In one embodiment, the corresponding constraints include a disparity constraint, a conformal constraint, a vertical edge constraint, and a temporal constraint. In the following discussion pertaining to the component terms and constraints, the warp is considered to be represented as a regular quad mesh O with vertices V, edges B and quad faces Q, and with W( ) as the operator that, given a vertex, returns the corresponding warped position in the current synthetic view.

FIG. 17 depicts disparity constraints 1704 in generated images, according to one embodiment disclosed herein. The disparity constraints 1704 correspond to three images to be generated by interpolating feature correspondences in two source images including a left source image 1702 and a right source image 1706. The disparity constraints 1704 may be determined based on disparities between two source images. At least in some embodiments, the disparities between the two source images may be a set of sparse disparities between the two source images. In this particular example, the three images to be generated are interpolated at equidistant positions between input positions 0 and 1, i.e., at 0.25, 0.5, and 0.75, respectively. The target disparities for images at these positions are determined as corresponding factors of input disparities. The visual significance of each feature and its surroundings are indicated by its associated saliency value S_(F). Assuming X_(L) and X_(R) respectively refer to positions of the same feature in the two source images 1702, 1706 and that X₁, X₂, . . . , X_(n) respectively refer to feature positions in the generated images, the energy terms describing the disparity constraints are given as follows:

For the synthetic image closest to the left source image in terms of disparity:

$\begin{matrix} {E_{f} = {\sum\limits_{all\_ features}\;{{{S_{F}\left( {X_{1} - {W\left( X_{L} \right)}} \right)}}^{2}.}}} & \left( {{Equation}\mspace{14mu} 16} \right) \end{matrix}$ For the synthetic image closest to the right source image in terms of disparity:

$\begin{matrix} {E_{f} = {\sum\limits_{all\_ features}\;{{{S_{F}\left( {X_{N} - {W\left( X_{R} \right)}} \right)}}^{2}.}}} & \left( {{Equation}\mspace{14mu} 17} \right) \end{matrix}$ Default case:

$\begin{matrix} {E_{f} = {\sum\limits_{all\_ features}\;{{{S_{F}\left( {{W\left( X_{i} \right)} - {W\left( X_{i - 1} \right)}} \right)}}^{2}.}}} & \left( {{Equation}\mspace{14mu} 18} \right) \end{matrix}$ The energy term as formulated in Equations 16-18 is configured to move each feature to a corresponding desired position, weighted by saliency of the respective feature. At least in some embodiments, the same formulation of the energy term may apply to interpolated positions as well as extrapolated positions of the images desired to be generated.

In one embodiment, the application 150 determines a conformal constraint to measure the distortion of quad faces in a generated image, relative to one or more source images. The conformal constraint is configured to penalize strong local deformations of quad faces, with the following formulation, where each vertex pair of V_(i) and V_(j) are at the same edge B_(k):

$\begin{matrix} {E_{c} = {\sum\limits_{V_{i},{V_{j} \in {B_{k}{(F)}}}}\;{{{\left( {{W\left( V_{i} \right)} - {W\left( V_{j} \right)}} \right) - \left( {V_{i} - V_{j}} \right)}}^{2}.}}} & \left( {{Equation}\mspace{14mu} 19} \right) \end{matrix}$

In one embodiment, because vertical lines are generally important for stereo fusion, the application 150 determines a vertical edge constraint to preserve vertical lines in a generated image. To this end, assume that H_(i), . . . , H_(n) represent pixel positions belonging to the same line in one or more images, e.g., as identified by the Hough transform. Then the energy term to be minimized for all Hough lines in all images is:

$\begin{matrix} {E_{h} = {\sum\limits_{all\_ lines}\;{\sum\limits_{{all\_ points}{\_ on}{\_ same}{\_ line}}\;{{{{W\left( H_{i_{x}} \right)} - {W\left( H_{i + 1_{x}} \right)}}}^{2}.}}}} & \left( {{Equation}\mspace{14mu} 20} \right) \end{matrix}$

FIG. 18 illustrates example images generated with and without using conformal constraints, respectively, according to one embodiment disclosed herein. The example images include a first image 1802 generated using conformal constraints and a second image 1804 corresponding to the first image 1802 but generated without using conformal constraints. Similarly, the example images also include a third image 1806 generated using conformal constraints and a fourth image 1808 corresponding to the third image 1806 but generated without using conformal constraints. As shown in the example images, the use of conformal constraints may reduce and/or minimize distortion of vertical edges in the generated images at least in some cases.

In one embodiment, the application 150 determines a temporal constraint to reduce temporal wobbling artifacts in a generated image. To this end, assume that W_(t) represents the warp function computed for a source image corresponding to a time t in the source video sequence. The energy term to minimize is then given by the following formulation:

$\begin{matrix} {E_{t} = {\sum\limits_{V_{i} \in M}\;{{{{W_{t}\left( V_{i} \right)} - {W_{t - 1}\left( V_{i} \right)}}}^{2}.}}} & \left( {{Equation}\mspace{14mu} 21} \right) \end{matrix}$

In one embodiment, after the constraints are determined and Equation 15 is populated with the associated energy terms from Equations 16-21, then a resulting mapping function is determined by minimizing the energy equation specified in Equation 15. At least in some embodiments, the mapping function may be a non-linear warp function. Further, the determined solution to the energy equation may be a compromise between the respective constraints, which are enforced simultaneously. For example, although not all features may end up in the desired position and some vertical edges may be slightly distorted, a majority of distortions may occur in image regions where such distortions are less noticeable to viewing users.

In one embodiment, the application 150 generates one or more target images based on the determined mapping function, which is configured to perform an image-domain warping of pixels from source images to new positions in the target images. In embodiments where the mapping function is continuous, the target images do not contain occlusions and thus no inpainting is required to be performed on the target images. At least in some embodiments, the target images are not generated based on a three-dimensional model of the scene depicted in the source video sequence—as would be used in some alternative approaches such as depth image based rendering. Accordingly, the target images may not necessarily be physically accurate. Physical inaccuracies notwithstanding, the target images may still be visually plausible and/or aesthetically appealing, at least in comparison with images generated using some alternative approaches. Further, approaches such as depth image based rendering may itself introduce physical inaccuracies due to other factors such as the use of multi-rigging techniques.

FIG. 19 depicts generating an interpolated image based on two source images according to one embodiment disclosed herein. As shown, the two source images include a left source image 1902 and a right source image 1904, which are interpolated with distance-dependent blending to generate one or more target images 1906. That is, the specific blending that occurs is dependent on the desired disparity of the desired target image, which is disposed at a corresponding distance between the left source image 1902 and the right source image 1904 in terms of disparity. The left source image 1902 and the right source image 1904 are warped and blended to generate an intermediate image that is the desired target image. Depending on the embodiment, the application 150 may be configured to generate an interpolated image based on two source images that are closest to the interpolated image in terms of disparity. The application 150 may also be configured to generate an extrapolated view based on the source image that is closest to the extrapolated image in terms of disparity.

FIG. 20 depicts blending of warped views 2002 to form a target image 2006, according to one embodiment disclosed herein. The warped views 2002 may be generated by applying a respective warp function to each of two distinct source images. Using a blending factor, the application 150 may perform a blending process 2204 on the warped views 2002 to generate the target image 2006 reflecting a composite of the warped views 2002. Doing so effectively blends contributions from the two distinct source images, which may improve the visual plausibility and/or aesthetic appeal of the generated target images at least in some cases. On the other hand, generating a target image by interpolating source images and without using blending may provide comparable or superior visual plausibility and/or aesthetic appeal at least in some cases, when compared to generating the target image from blending both source images using the blending factor. Accordingly, at least in some embodiments, the application 150 interpolates multiple source images in generating a target image, thereby using only the multiple source images as input and refraining from using any blending factor or blending process.

As described above, the application 150 is configured to generate one or more target images based on interpolation or extrapolation of one or more source images. To this end, assume that P_(A) and P_(B) respectively represent pixels from source images A and B and that P_(I) represents a pixel in the target image to be generated. Further, assume that D_(A-I) and D_(B-I) represent the distances between the target image to render A and B. Further still, assume that D_(MAX) represents the maximum distance between the source images. P_(I) is then given by the following formulation:

Case P_(A) and P_(B) both exist:

$\begin{matrix} {P_{1} = {{\left( {1 - \frac{D_{A - I}}{D_{MAX}}} \right)P_{A}} + {\left( {1 - \frac{D_{B - I}}{D_{MAX}}} \right){P_{B}.}}}} & \left( {{Equation}\mspace{14mu} 22} \right) \end{matrix}$ Case P_(A) does not exist: P ₁ =P _(B)  (Equation 23) Case P_(B) does not exist: P ₁ =P _(A).  (Equation 24)

FIG. 21 depicts a multiview autostereoscopic video frame generated based on three source images, according to one embodiment disclosed herein. In this particular example, the multiview autostereoscopic video frame includes images that, from left to right, correspond to the images V1-V5 of FIG. 1. As shown, the multiview autostereoscopic video frame includes a first source image 2012 and a second source image 2014. The third source image, corresponding to image V9 of FIG. 1, is not shown in FIG. 21, for purposes of clarity. The multiview autostereoscopic video frame is augmented to include three additional images 2106 generated using mapping functions and by interpolating the first and second source images 2102, 2014 according to the techniques disclosed herein. Accordingly, the multiview autostereoscopic video frame is generated without using any dense source stereoscopic information pertaining to the depicted scene and while preserving visually significant features in the additional images.

FIG. 22 depicts a multiview autostereoscopic video frame generated based on two source images, according to one embodiment disclosed herein. In this particular example, the multiview autostereoscopic video frame includes images that, from left to right, correspond to the images V1-V5 of FIG. 2. As shown, the multiview autostereoscopic video frame includes a first source image 2202 of the three source images. The second source image, corresponding to image V7 of FIG. 2, is not shown in FIG. 22, for purposes of clarity. The multiview autostereoscopic video frame is augmented to include four additional images generated from at least the first source image 2202 according to the techniques disclosed herein. The four additional images include two images 2204 generated using mapping functions and by extrapolating the first source image 2202. The four additional images further include two images 2206 generated using mapping functions and by interpolating the first source image 2202 and the second source image. In alternative embodiments, the two images 2206 may be generated by extrapolating the first source image 2202, without using the second source image. Accordingly, the multiview autostereoscopic video frame is generated without requiring user input and without requiring inpainting to be performed on the additional images.

FIG. 23 is a flowchart depicting a method 2300 to generate multiview autostereoscopic video content, according to one embodiment disclosed herein. As shown, the method 2300 begins at step 2310, where the application 150 receives a multiscopic video frame including at least a first image and a second image. For example, the multiscopic video frame may be a stereoscopic video frame having two images or a multiscopic video frame having more than two images. At step 2320, the application 150 analyzes the first image and the second image of the multiscopic video frame to determine a set of image characteristics.

Depending on the embodiment, the set of image characteristics includes a set of disparities between the first image and the second image, a saliency map of the first image and/or the second image, and/or an edge map of the first image and/or the second image. The set of disparities between the first image and the second image may be a sparse set of disparities and/or may be determined based on feature matching and optical flow analysis. The saliency map may be determined by analyzing a predefined set of image attributes based on quaternion transform, such as a two-dimensional Fourier transformation. For example, the predefined set of image attributes may include contrast, orientation, color, and/or intensity. The edge map may be determined based on edge detection and vertical line detection. At least in some embodiments, edge detection may be performed based on a Canny algorithm, and vertical line detection may be performed based on a Hough transform.

At step 2330, the application 150 determines a mapping function based on the set of image characteristics. At least in some embodiments, the mapping function is a non-linear warp function configured to operate in the image domain. Further, the non-linear warp function may be determined by optimizing an energy equation based on the set of image characteristics and a set of associated weights. At step 2340, the application 150 generates a third image based on the determined mapping function and not based on any depth information pertaining to the multiscopic video frame. Accordingly, the third image is generated without requiring any dense source stereoscopic information and/or without requiring performing depth image based rendering. The mapping function may be configured to, when generating the third image, preserve vertical edges and/or salient regions to a greater extent than other image aspects in the third image. At step 2350, the application 150 augments the received multiscopic video frame to include the generated third image. After the step 2350, the method 2300 terminates.

FIG. 24 depicts components of a view synthesizer 2406 configured to generate multiview autostereoscopic video content, according to one embodiment disclosed herein. As shown, a video encoder 2404 encodes video data that includes multiple video frames, each video frame including M stereoscopically distinct views or images. The encoded video data is transmitted to a video decoder 2404 via a transmission channel. The video decoder 2404 decodes the M stereoscopically distinct views from each video frame of the encoded video. Based on the M stereoscopically distinct views for each video frame, the view synthesizer 2406 generates multiview autostereoscopic video content that includes N stereoscopically distinct views for each video frame, where N>M.

As shown, the view synthesizer 2406 includes a data extractor 2408, a warp calculator 2410, a warp interpolator/extrapolator 2412, and an image domain warper 2414. In one embodiment, the data extractor 2408 extracts, from the video data, information used by the warp calculator 2410 to generate mapping functions. For example, the extracted information may include saliency and vertical edges from each of the M input views. The extracted information may further include a sparse set of disparities between M−1 pairs neighboring input views. Based on the extracted information, the warp calculator 2410 may generate a set of 2*M−2 mapping functions. The warp interpolator/extrapolator 2412 generates a set of 2*N mapping functions by including, interpolating, and/or extrapolating the set of mapping functions generated by the warp calculator 2410. To this end, the warp interpolator/extrapolator 2412 may receive, as input, desired positions of the N views. The image domain warper 2414 may then perform image domain warping based on the 2*N mapping functions, to generate a set of N stereoscopically distinct output views.

In some embodiments, if the positions provided as input to the warp interpolator/extrapolator 2412 indicate that the M input views are also part of the N output views, the only 2(N−M) mapping functions are computed in the interpolation/extrapolation step. Consequently, only N−M new views are synthesized by image domain warping, while the M input views are also directly provided as output views. In other embodiments, L of the M input views are also part of the N output views, where 1≦L<M.

Accordingly, at least some mapping functions may be interpolated and/or extrapolated rather than being generated based on information from the data extractor 2408, allowing the mapping functions to be generated more efficiently at least in some cases. Further, depending on the embodiment, the mapping functions may be bilaterally filtered spatially and/or temporally in a specified, arbitrarily small time window. Doing so may reduce or eliminate synthesis artifacts such as noise on straight edges at least in some cases.

FIG. 25 depicts components of the data extractor 2408 of FIG. 24, according to one embodiment disclosed herein. As shown, the data extractor 2408 includes a saliency extractor 2504, a vertical edges extractor 2506, and a sparse disparities extractor 2508. In this particular example, the data extractor 2408 receives video data that includes M input views per frame, where M=3. In one embodiment, the saliency extractor 2504 generates saliency information from each input view. Similarly, the vertical edges extractor 2506 generates vertical edge information from each input view. The sparse disparities extractor 2508 generates a sparse set of disparities from each pair of neighboring input views. As described above, the information generated by the data extractor 2408 is used to generate mapping functions according to the techniques disclosed herein.

Advantageously, embodiments disclosed herein provide techniques for augmenting a multiscopic video frame with one or more generated images. In one embodiment, the multiscopic video frame is analyzed to determine a set of image characteristics. A third image is generated based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame. The multiscopic video frame is augmented with the third image. Accordingly, images that are stereoscopically distinct relative to one or more source images may be generated more efficiently at least in some cases, while preserving visually significant features in the generated images.

While the foregoing is directed to embodiments presented in this disclosure, other and further embodiments may be devised without departing from the basic scope of this disclosure, and the scope thereof is determined by the claims that follow. 

What is claimed is:
 1. A computer-implemented method of multiscopic video augmentation based on non-linear warp functions, the computer-implemented method comprising: receiving a multiscopic video frame comprising at least a first image and a second image, at least one image of which has a first set of pixels and a second set of pixels; analyzing the first image and the second image of the multiscopic video frame in order to determine a set of image characteristics including a set of sparse disparities between the first and second images; determining, based on the set of image characteristics, a mapping function comprising a non-linear warp function configured to, in an image domain, warp the first set of pixels to a greater extent than the second set of pixels; and generating, by operation of one or more computer processors, at least a third image based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame, wherein the multiscopic video frame is augmented to include the generated third image.
 2. The computer-implemented method of claim 1, wherein the set of image characteristics further includes a saliency map of at least one of the first image and the second image.
 3. The computer-implemented method of claim 2, wherein the saliency map is determined by analyzing a predefined set of image attributes based on a quaternion transform, wherein the predefined set of image attributes include contrast, orientation, color, and intensity, wherein the quaternion transform comprises a two-dimensional Fourier transformation.
 4. The computer-implemented method of claim 3, wherein the set of image characteristics further includes an edge map of at least one of the first image and the second image, wherein the non-linear warp function is determined by optimizing an energy equation based on the set of image characteristics and a set of associated weights.
 5. The computer-implemented method of claim 4, wherein the multiscopic video frame comprises a stereoscopic video frame, wherein the third image is generated further based on at least one of interpolation and extrapolation; wherein the set of sparse disparities between the first image and second image are determined based on feature matching and optical flow analysis; wherein the edge map is determined based on edge detection and vertical line detection, wherein the edge detection is based on a Canny algorithm, wherein the vertical line detection is based on a Hough transform; wherein the determined mapping function is configured to, when generating the third image, preserve vertical edges and salient regions to a greater extent than other image aspects, wherein each of the first image, the second image, and third image is multiscopically distinct.
 6. A non-transitory computer-readable medium containing a program which, when executed, performs an operation for multiscopic video augmentation based on non-linear warp functions, the operation comprising: receiving a multiscopic video frame comprising at least a first image and a second image, at least one image of which has a first set of pixels and a second set of pixels; analyzing the first image and the second image of the multiscopic video frame in order to determine a set of image characteristics including a set of sparse disparities between the first and second images; determining, based on the set of image characteristics, a mapping function comprising a non-linear warp function configured to, in an image domain, warp the first set of pixels to a greater extent than the second set of pixels; and generating, by operation of one or more computer processors when executing the program, at least a third image based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame, wherein the multiscopic video frame is augmented to include the generated third image.
 7. The non-transitory computer-readable medium of claim 6, wherein the set of image characteristics further includes a saliency map of at least one of the first image and the second image.
 8. The non-transitory computer-readable medium of claim 7, wherein the saliency map is determined by analyzing a predefined set of image attributes based on a quaternion transform, wherein the predefined set of image attributes include contrast, orientation, color, and intensity, wherein the quaternion transform comprises a two-dimensional Fourier transformation.
 9. The non-transitory computer-readable medium of claim 8, wherein the set of image characteristics further includes an edge map of at least one of the first image and the second image, wherein the non-linear warp function is determined by optimizing an energy equation based on the set of image characteristics and a set of associated weights.
 10. The non-transitory computer-readable medium of claim 9, wherein the multiscopic video frame comprises a stereoscopic video frame, wherein the third image is generated further based on at least one of interpolation and extrapolation; wherein the set of sparse disparities between the first image and second image are determined based on feature matching and optical flow analysis; wherein the saliency map is determined by analyzing a predefined set of image attributes based on quaternion transform, wherein the predefined set of image attributes include contrast, orientation, color, and intensity, wherein the quaternion transform comprises a two-dimensional Fourier transformation; wherein the edge map is determined based on edge detection and vertical line detection, wherein the edge detection is based on a Canny algorithm, wherein the vertical line detection is based on a Hough transform; wherein the determined mapping function is configured to, when generating the third image, preserve vertical edges and salient regions to a greater extent than other image aspects, wherein each of the first image, the second image, and third image is multiscopically distinct.
 11. A system of multiscopic video augmentation based on non-linear warp functions, the system comprising: one or more computer processors; a memory containing a program which, when executed by the one or more computer processors, performs an operation comprising: receiving a multiscopic video frame comprising at least a first image and a second image, at least one image of which has a first set of pixels and a second set of pixels; analyzing the first image and the second image of the multiscopic video frame in order to determine a set of image characteristics including a set of sparse disparities between the first and second images; determining, based on the set of image characteristics, a mapping function comprising a non-linear warp function configured to, in an image domain, warp the first set of pixels to a greater extent than the second set of pixels; and generating at least a third image based on the determined mapping function and not based on any dense source stereoscopic information pertaining to the multiscopic video frame, wherein the multiscopic video frame is augmented to include the generated third image.
 12. The system of claim 11, wherein the set of image characteristics further includes a saliency map of at least one of the first image and the second image.
 13. The system of claim 12, wherein the saliency map is determined by analyzing a predefined set of image attributes based on a quaternion transform, wherein the predefined set of image attributes include contrast, orientation, color, and intensity, wherein the quaternion transform comprises a two-dimensional Fourier transformation.
 14. The system of claim 13, wherein the set of image characteristics further includes an edge map of at least one of the first image and the second image, wherein the non-linear warp function is determined by optimizing an energy equation based on the set of image characteristics and a set of associated weights.
 15. The system of claim 14, wherein the multiscopic video frame comprises a stereoscopic video frame, wherein the third image is generated further based on at least one of interpolation and extrapolation; wherein the set of sparse disparities between the first image and second image are determined based on feature matching and optical flow analysis; wherein the saliency map is determined by analyzing a predefined set of image attributes based on quaternion transform, wherein the predefined set of image attributes include contrast, orientation, color, and intensity, wherein the quaternion transform comprises a two-dimensional Fourier transformation; wherein the edge map is determined based on edge detection and vertical line detection, wherein the edge detection is based on a Canny algorithm, wherein the vertical line detection is based on a Hough transform; wherein the determined mapping function is configured to, when generating the third image, preserve vertical edges and salient regions to a greater extent than other image aspects, wherein each of the first image, the second image, and third image is multiscopically distinct.
 16. The system of claim 15, wherein the multiscopic video frame is augmented by an image processing application, wherein the image processing application is configured to, in respective instances, determine each individual image characteristic selected from: (i) image-based saliency of the at least one image; and (ii) disparity-based saliency of the at least one image.
 17. The system of claim 16, wherein the multiscopic video frame is generated from at least one monoscopic video frame, wherein the third image is generated based on at least one predefined aspect of disparity, wherein the image processing application is configured to, in respective instances, generate the third image based on each individual aspect of disparity selected from: (i) a disparity range of the at least one image; (ii) a disparity sensitivity of the at least one image; (iii) a disparity gradient of the at least one image; and (iv) a disparity velocity of the at least one image.
 18. The system of claim 17, wherein the disparity range defines a stereoscopic comfort zone for viewing the multiscopic video frame; wherein the disparity sensitivity specifies a level of ease with which different depths are distinguished in the multiscopic video frame; wherein the disparity gradient is determined from a disparity of a feature depicted in the multiscopic video frame and an angular separation of the feature; wherein the disparity velocity specifies an extent to which a disparity in the multiscopic video frame changes over time in one or more subsequent multiscopic video frames.
 19. The system of claim 18, wherein at least one predefined aspect of disparity is associated with a corresponding predefined disparity mapping operator that is implemented using the mapping function, wherein the third image is generated using at least one predefined disparity mapping operator, wherein the image processing application is configured to, in respective instances, generate the third image using each individual disparity mapping operator selected from: (i) a linear operator configured to perform global linear adaptation of a disparity in the multiscopic video frame to a target range; (ii) a non-linear operator configured to perform non-linear disparity compression in the multiscopic video frame; (iii) a gradient domain operator configured to remap disparity gradients of the multiscopic video frame; and (iv) a temporal operator configured to perform temporal smoothing at a scene transition of the multiscopic video frame.
 20. The system of claim 19, wherein the non-linear disparity compression is performed via a non-linear function on a sum of: (i) a product of: (A) a disparity value of the multiscopic video frame and (B) a predefined scaling factor; and (ii) a predefined constant; wherein the non-linear function comprises a logarithm; wherein a plurality of non-linear functions, including the non-linear function, is used to perform the non-linear disparity compression, each of the plurality of non-linear functions configured to map a respective set of disparity values of the multiscopic video frame and falling within a respective source disparity range, to a respective target disparity range; wherein each of the plurality of non-linear functions is distinct, wherein each set of disparity values of the multiscopic video frame is distinct, wherein each corresponding target disparity range is distinct; wherein the non-linear operator comprises a predefined function including an integral, over a specified interval, over a set of saliency values corresponding to first derivates of the plurality of non-linear functions, wherein the image processing application is configured to, in respective instances, perform each individual operation selected from: (i) generating the set of saliency values based on user input; and (ii) generating the set of saliency values based on the multiscopic video frame and without requiring any user input. 